#一. OverviewThe > database locking mechanism simply means that the database is designed to ensure the consistency of the data and to make the various shared resources be ordered by concurrent access. For any kind of database need to have a
SQL Server lock type (SQL) Favorites 1. HOLDLOCK: Holds a shared lock on the table until the entire transaction ends, rather than releasing the added lock immediately after the statement is executed. 2. NOLOCK: No shared and exclusive locks
1 PrefaceThe database large concurrency operation takes into account the deadlock and lock performance issues. See online most vague (especially update lock), so here is a concise explanation, for the following description of the convenient, here
1 PrefaceThe database large concurrency operation takes into account the deadlock and lock performance issues. See online most vague (especially update lock), so here is a concise explanation, for the following description of the convenient, here
1 PrefaceThe database large concurrency operation takes into account the deadlock and lock performance issues. See online most vague (especially update lock), so here is a concise explanation, for the following description of the convenient, here
1 PrefaceThe database large concurrency operation takes into account the deadlock and lock performance issues. See online most vague (especially update lock), so here is a concise explanation, for the following description of the convenient, here
1 PrefaceThe database large concurrency operation takes into account the deadlock and lock performance issues. See online most vague (especially update lock), so here is a concise explanation, for the following description of the convenient, here
1 PrefaceThe database large concurrency operation takes into account the deadlock and lock performance issues. See online most vague (especially update lock), so here is a concise explanation, for the following description of the convenient, here
This article was reproduced from: http://blog.csdn.net/yuanyuanispeak/article/details/527561671 PrefaceThe database large concurrency operation takes into account the deadlock and lock performance issues. See online most vague (especially update
Original article addressMySQL database InnoDB Storage engine Lock Mechanism
00-Basic Concepts
-Basic lock types
A. Shared lock is also called a read lock.B. exclusive locks are also called write locks.
Compatibility Matrix of-s and X locks
S xS +-X -
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.